package com.eshop.modules.product.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.product.service.dto.StoreProductRuleDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.product.service.dto.StoreProductRuleQueryCriteria;
import com.eshop.modules.product.domain.StoreProductRule;
import com.eshop.common.service.BaseService;

public interface StoreProductRuleService extends BaseService<StoreProductRule>
{
    Map<String, Object> queryAll(final StoreProductRuleQueryCriteria criteria, final Pageable pageable);
    
    List<StoreProductRule> queryAll(final StoreProductRuleQueryCriteria criteria);
    
    void download(final List<StoreProductRuleDto> all, final HttpServletResponse response) throws IOException;
}
